// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_SCHEDULE
// * CreateDate    : 2014-06-05 18:30:17
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:17
// * LastChanger   : 2014-06-05 18:30:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstScheduleTable : TableInfo
    {
		public const string C_TableName = "MST_SCHEDULE";
		
		public const string C_ID = "ID";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_USER_NO = "USER_NO";
		public const string C_TYPE = "TYPE";
		public const string C_ALL_DAY = "ALL_DAY";
		public const string C_LABEL_ID = "LABEL_ID";
		public const string C_LOCATION = "LOCATION";
		public const string C_START_DATE = "START_DATE";
		public const string C_END_DATE = "END_DATE";
		public const string C_SUBJECT = "SUBJECT";
		public const string C_STATUS_ID = "STATUS_ID";
		public const string C_DESCRIPTION = "DESCRIPTION";
		
		public MstScheduleTable()
        {
            _tableName = "MST_SCHEDULE";
        }
		
		protected static MstScheduleTable _current;
        public static MstScheduleTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstScheduleTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_USER_NO, new ColumnInfo(C_USER_NO,"UserNo", false, typeof(string)));
            _current.Add(C_TYPE, new ColumnInfo(C_TYPE,"Type", false, typeof(int)));
            _current.Add(C_ALL_DAY, new ColumnInfo(C_ALL_DAY,"AllDay", false, typeof(int)));
            _current.Add(C_LABEL_ID, new ColumnInfo(C_LABEL_ID,"LabelId", false, typeof(int)));
            _current.Add(C_LOCATION, new ColumnInfo(C_LOCATION,"Location", false, typeof(string)));
            _current.Add(C_START_DATE, new ColumnInfo(C_START_DATE,"StartDate", false, typeof(DateTime)));
            _current.Add(C_END_DATE, new ColumnInfo(C_END_DATE,"EndDate", false, typeof(DateTime)));
            _current.Add(C_SUBJECT, new ColumnInfo(C_SUBJECT,"Subject", false, typeof(string)));
            _current.Add(C_STATUS_ID, new ColumnInfo(C_STATUS_ID,"StatusId", false, typeof(int)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo USER_NO
        {
            get { return this[C_USER_NO]; }
        }
		
		public ColumnInfo TYPE
        {
            get { return this[C_TYPE]; }
        }
		
		public ColumnInfo ALL_DAY
        {
            get { return this[C_ALL_DAY]; }
        }
		
		public ColumnInfo LABEL_ID
        {
            get { return this[C_LABEL_ID]; }
        }
		
		public ColumnInfo LOCATION
        {
            get { return this[C_LOCATION]; }
        }
		
		public ColumnInfo START_DATE
        {
            get { return this[C_START_DATE]; }
        }
		
		public ColumnInfo END_DATE
        {
            get { return this[C_END_DATE]; }
        }
		
		public ColumnInfo SUBJECT
        {
            get { return this[C_SUBJECT]; }
        }
		
		public ColumnInfo STATUS_ID
        {
            get { return this[C_STATUS_ID]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		
		
	}
}

